* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: #f5f7fa;
    color: #333;
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.main-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 25px;
}

.section-title {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 3px solid #6a11cb;
    color: #2d3748;
    display: flex;
    align-items: center;
}

.card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    padding: 20px;
    margin-bottom: 20px;
    transition: transform 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
}

.hot-story {
    display: flex;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.hot-story:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.story-number {
    font-size: 28px;
    font-weight: 800;
    color: #e2e8f0;
    margin-right: 15px;
    min-width: 40px;
}

.hot-story:nth-child(1) .story-number {
    color: #ff6b6b;
}

.hot-story:nth-child(2) .story-number {
    color: #4ecdc4;
}

.hot-story:nth-child(3) .story-number {
    color: #ffd166;
}

.story-content h3 {
    font-size: 18px;
    margin-bottom: 5px;
}

.story-content p {
    color: #718096;
    font-size: 14px;
    margin-bottom: 10px;
}

.story-meta {
    display: flex;
    align-items: center;
    color: #a0aec0;
    font-size: 13px;
}

.story-meta span {
    margin-right: 15px;
    display: flex;
    align-items: center;
}

.discussion {
    display: flex;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.discussion:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.users-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 15px;
    background: linear-gradient(135deg, #4361ee 0%, #7209b7 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 20px;
}

.discussion-content h3 {
    font-size: 17px;
    margin-bottom: 8px;
}

.discussion-content p {
    color: #718096;
    font-size: 14px;
    margin-bottom: 10px;
}

.creator {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.creator:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.rank {
    font-size: 20px;
    font-weight: 800;
    color: #6a11cb;
    margin-right: 15px;
    min-width: 30px;
}

.creator-info {
    display: flex;
    align-items: center;
}

.creator-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 15px;
    background: #4ecdc4;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 20px;
}

.creator-details h4 {
    font-size: 16px;
    margin-bottom: 5px;
}

.creator-details p {
    color: #718096;
    font-size: 13px;
    display: flex;
    align-items: center;
}

.sidebar {
    position: sticky;
    top: 20px;
}

.stats {
    background: linear-gradient(135deg, #6a11cb 0%, #2575fc 100%);
    color: white;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 25px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.stats h3 {
    font-size: 18px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

.stats h3 i {
    margin-right: 10px;
}

.stat-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.stat-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

@media (max-width: 900px) {
    .main-content {
        grid-template-columns: 1fr;
    }

    .header-content {
        flex-direction: column;
        text-align: center;
    }

    nav ul {
        margin: 15px 0;
        justify-content: center;
    }

    .user-actions {
        justify-content: center;
    }
}